<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>米行域名批量交易平台-我要借款</title>
		<include file="./Public/mob/public/public.html" />
		<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/mob/css/register.css">
		<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/mob/css/cred.css">
		<style>
			#ulSelectType li {
				position: relative;
				height: 30px;
				line-height: 30px;
				text-align: center;
				background: white;
			}
			#ulSelectType li:after {
				content: "";
				display: block;
				border-top: 5px solid #e6e6e6;
				border-left: 5px solid transparent;
				border-right: 5px solid transparent;
				position: absolute;
				top: 13px;
				line-height: 30px;
				right: 10px;
			}
			#LoanLists div{
				padding-top:10px ;
				/*padding-bottom:10px ;*/
			}
			.yanse{
				background-color: #FFA200;
				
			}
			.tab-group a.yanse {
    			border-bottom: 1px solid #ff690f;
			}
			
			.category-term li{
				width: 33%;float: left;
			}
		</style>
	</head>

	<body>
		<div class="sjsWeb_HeaderTop_main">
			<div class="sjsWeb_HeaderTop_welcome" style="float: left;">
				<img src="/dow/Public/img/logo.png" style="width:150px;height: 45px;">
				<!--您好，欢迎来到米行！-->
			</div>
			<div class="header-account" style="height:100%;height:45px;line-height:45px;float: right;margin-right: 10px;">

				<if condition="$_SESSION['uid']!=null">
					<a class="user-info btn" href="{:U('Survey/index')}" style="color:#FFA200;">用户：{$_SESSION['username']}&nbsp;&nbsp;ID：{$_SESSION['uid']} </a>
					&nbsp;&nbsp;
					<a class="user-info btn" href="{:U('Login/logout')}">注销</a>
					<div class="clr"></div>
					<else />
					<a class="btn" href="{:U('Login/index')}">登录</a>
					<a class="btn" href="{:U('Register/index')}">注册</a>
					<div class="clr"></div>
				</if>
			</div>
			<div class="clr"></div>
		</div>
		<!---->
		<!--<div class="tab-group mobile-only">
			<a href="loaderinfo.html" class="buy">我要投资</a>
			<a class="yanse" style="color: white;">我要借款</a>
			<div class="clr"></div>
		</div>-->
		<!---->
		<!---->
		<div class="tab-group mobile-only">
			<a  href="loaderinfo.html" class="buy">我要投资</a>
			<a class="active mai">我要借款</a>
			<div class="clr"></div>
		</div>
		<!---->
		
		<div class="layout-wrap register" style="height:100%;">
			<!--<div class="tab-group mobile-only">
				<div class="clr"></div>
			</div>-->

			<div class="w1190">
				
				<div class="category bg" style="height:auto;border-bottom: 1px solid #efefef;">

					<ul class="category-term category-pa" id="ulSelectType">
						<!--<li class="">
								<a href="javascript:;" data-id="filter-area" tongji_tag="m_list_job_full_city2_choose">区域</a>
							</li>-->
						<li>
							<span>年化利率：</span>
							<!--<a <if condition="$rate eq ''">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','');">全部 </a>
								<a <if condition="$rate eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','1');">9%及以下 </a>
								<a <if condition="$rate eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','2');">9%-10.2% </a>
								<a <if condition="$rate eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','3');">10.2%-11.4% </a>
								<a <if condition="$rate eq 4">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('rate','4');">11.4%以上</a>-->
						</li>
						<li>
							<span>投资期限：</span>
							<!--<a <if condition="$term eq 0">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','0');">全部</a>
								<a <if condition="$term eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','1');">1个月</a>
								<a <if condition="$term eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','2');">2个月</a>
								<a <if condition="$term eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('term','3');">2个月以上</a>-->
						</li>
						<li>
							<span>投资金额：</span>
							<!--<a <if condition="$money eq ''">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','');">全部 </a>
								<a <if condition="$money eq 1">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','1');">5万以下</a>
								<a <if condition="$money eq 2">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','2');">5万-10万</a>
								<a <if condition="$money eq 3">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','3');">10万-15万</a>
								<a <if condition="$money eq 4">class="chose"</if> href="#none" class='seardivlcas' onclick="loadSearch('money','4');">15万以上</a>-->
						</li>

					</ul>
					<div class="clear"></div>
				</div>
				<!--分类条件 end-->
				
				<!--<div class="loan-list detail-loan-list mt34">-->

					<div class="loan-list-cont ind-investbox" id="xsb">
						<!--<h4 style="display: block;">
                    		<span class="w7">&nbsp;&nbsp;</span> <span class="w15">投资标题 </span>
                   			 <span class="w10" id="Sort_Rate" onclick="SortLoan(this)"><a class="blue" title="按年利率排序">年利率 </a>
                        	<i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
                        	<i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
                    		</span>
                    		<span class="w10">域名类型</span>
                    		<span class="w13" id="Sort_Amount" onclick="SortLoan(this)"><a class="blue" title="按金额排序">金额 </a>
                        	<i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
                        	<i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
                    		</span>
                   			<span class="w11" id="Sort_Term" onclick="SortLoan(this)"><a class="blue" title="按期限排序">期限 </a>
                        	<i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
                        	<i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
                    		</span>
                    		<span class="w16">还款方式</span>
                    		<span class="w11" id="Sort_Sch" onclick="SortLoan(this)"><a class="blue" title="按进度排序">进度 </a>
                        	<i class="iconfont f18 desc" style="display:none" id="Sort1"></i>
                        	<i class="iconfont f18 asc" style="display:none" id="Sort2"></i>
                    		</span> 
                    		<span class="w7">&nbsp;&nbsp;</span> 
                		</h4>-->
						<ul id="LoanLists" style="border: 0px solid red;">
							<volist name="investlist" id="vo">
								<if condition="$i%2 eq 0">
									<li class="two">
								</if>
								<if condition="$i%2 neq 0">
									<li class="one">
								</if>
								
								<div style="width: 100%;border: 0px solid blue;">
									<!--<dl style="float: left;"><span class="icon-diactive ml11"></span></dl>-->
									<dl style="width:70%;float:left;margin-left:2% ;border: 0px solid blue;">
										<p style="margin-top: 10px;">
										<dd style="float:left;width:14px;height:14px;line-height:14px;text-align: center;border-radius:10px;border:1px solid #FF6524;background:#FF6524;color: white;">标</dd>
										&nbsp;
										<a href="{:U('Credit/inverdetail',array('id'=>$vo['id'],'cateid'=>$vo['domtypeid']))}">
										<span style="font-weight: normal;color:#FF6524;font-size: 15px;">授信额度{$vo.credit}元</span>
										</a>
										</p>
										<!--<span class="gray">发标时间:{$vo.create_time}</span>-->
										<p style="margin-top: 10px;">
											<span style="color:#FF6524;">域名类型&nbsp;:&nbsp;</span><span style="font-weight:;color: black;">{$vo.domtypname}</span>
										</p>
										<p style="margin-top: 10px;">
											<span style="color:#FF6524;">金额&nbsp;:&nbsp;</span><span>{$vo.money}</span><span>元</span>&nbsp;&nbsp;&nbsp;
											<span style="color:#FF6524;">年利率&nbsp;:&nbsp;</span><span>{$vo.rate}%</span</div>
										</p>
									</dl>
									    <!--width: 1.28rem;-->
									<dl style="position:absolute;margin-top:20px;right:0;margin-right:2%;width:100px;float:right;border: 0px solid red;">
										
										<if condition="$vo['money'] eq 0">
										<a href="{:U('Credit/inverdetail',array('id'=>$vo['id'],'cateid'=>$vo['domtypeid']))}"><span class="bnt-hui-normal">已借完</span></a>
										<else/>
										<a href="{:U('Credit/inverdetail',array('id'=>$vo['id'],'cateid'=>$vo['domtypeid']))}"><span class="bnt-normal">立即借款</span></a>
										</if>
										
									</dl>
									<div class="clear"></div>
									
									
								</div>
								
								<!--<div class="w10 mt20"><span class="f18 red">{$vo.rate}%</span></div>
								<div class="w10 mt20"><span class="f18 red">{$vo.domtypname}</span></div>
								<div class="w13 mt20">
									<span class="f18">{$vo.money}</span><span class="gary">元</span>
								</div>
								<div class="w11 mt20">
									<if condition="$vo['term_begin']-30 lt 0">
										<span class="f18">{$vo.term_begin}</span> <span class="gary">天</span>
										<else/>
										<span class="f18">{$vo['term_begin']/30}</span> <span class="gary">个月</span>
									</if>
									-至-
									<if condition="$vo['term_end']-30 lt 0">
										<span class="f18">{$vo.term_end}</span> <span class="gary">天</span>
										<else/>
										<span class="f18">{$vo['term_end']/30}</span> <span class="gary">个月</span>
									</if>
								</div>
								<div class="w16 mt20">按月付息，到期还本</div>
								<div class="w11 col_5 mt28">
									<font>{$vo['tovalue']/$vo['money']*100|round=###,2}%</font>
								</div>-->
								<!--<div class="w7 mtb15" style="width: 20%;border: 1px solid red;">
									<if condition="$vo['money'] eq 0">
										<a href="{:U('Credit/inverdetail',array('id'=>$vo['id'],'cateid'=>$vo['domtypeid']))}"><span class="bnt-hui-normal">已借完</span></a>
										<else/>
										<a href="{:U('Credit/inverdetail',array('id'=>$vo['id'],'cateid'=>$vo['domtypeid']))}"><span class="bnt-normal">立即借款</span></a>
									</if>
								</div>-->
								</li>
							</volist>
							
							<div class="clear"></div>
						</ul>

					</div>
					<!--pager strat-->
					<!--<div class="pager w-pager">
						<ul></ul>
					</div>-->
					<!--pager end-->
				<!--</div>-->

			</div>
		</div>
		
		<form action="{:U('index.php/credit/investorinfo')}" method='post' id="searchformid">
			<input type='hidden' name="rate" id="idrate" value='{$rate}' />
			<input type='hidden' name="term" id="idterm" value='{$term}' />
			<input type='hidden' name="money" id="idmoney" value='{$money}' />
		</form>
		
		<include file="./Public/mob/public/bottom.html" />
	</body>
	<script type="text/javascript" src="{$app_path}{$static_path}/js/cycle.js"></script>
	<script type="text/javascript" src="{$app_path}{$static_path}/js/raphael.js"></script>

	<script type="text/javascript">
		function loadSearch(id, val) {
			$("#id" + id).val(val);
			$("#searchformid").submit();
		}

		function daystr(timer) {
			if(timer == 0) {
				return '';
			}
			var str = "";
			var yuday = 0;
			var h = 0;
			var m = 0;
			var yuh = 0;
			var day = parseInt(timer / (24 * 3600000));
			if(day == 0) {
				h = parseInt(timer / (3600000));
				yuh = timer % (3600000);
			} else {
				yuday = timer % (24 * 3600000);
				h = parseInt(yuday / (3600000));
				yuh = yuday % (3600000);
			}
			str = day + '天' + h + '小时';
			if(h == 0) {
				m = parseInt(timer / (60000));
				yum = timer % (60000);
			} else {
				m = parseInt(yuh / (60000));
				yum = yuh % (60000);
			}
			str += m + '分';
			if(m == 0) {
				s = parseInt(timer / 1000);
			} else {
				s = parseInt(yum / (1000));
			}
			str += s + '秒';
			return str;
		}
	</script>

</html>